/**
 * @register 注册路由
**/
import { createRouter, createWebHistory, } from "vue-router";
const routes = [
    {
        path: "/register",
        name: "register",
        component:()=>import("../../views/register/index.vue"),
    },
    {
        path: "/login",
        name: "login",
        component:()=>import("../../views/login/index.vue"),
    },
    {
        path: "/login/sylogin",
        name: "sylogin",
        component:()=>import("../../components/login/sylogin.vue"),
    },
    {
        path: "/login/qrlogin",
        name: "qrlogin",
        component:()=>import("../../components/login/qrlogin.vue"),
    }

]

const router = createRouter({
    history: createWebHistory(),
    routes,
});

export default router;